export const tableColumns = context => {
  return [
    { prop: 'name', label: '方案名称', minWidth: 120 },
    {
      prop: 'status',
      k1: 'GOODS_STATUS',
      label: '状态',
      minWidth: 80
    },

    {
      button: true,
      label: 'jsx-操作',
      fixed: 'right',
      width: 100,
      render: (h, row, rowIndex) => {
        return [
          <el-button type="text" onClick={() => console.log(row, rowIndex)}>
            详情
          </el-button>
        ]
      }
    }
  ]
}
